package com.pp.demo.module.user.mapper;

import com.pp.demo.module.user.dto.UserRoleDTO;
import com.pp.demo.module.user.entity.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author pzh
 * @since 2025-07-05 06:01:59
 */
@Mapper
public interface UserRoleMapper extends BaseMapper<UserRole> {

    List<UserRoleDTO> listUserRole(@Param("userId") Long userId);
}
